/*
 * This file (AxLogListener.java) is protected by the GNU GPL licence (v2). 
 * Please read the license.txt attached for further informations. 
 * 
 */

package artx.listeners;

import artx.events.AxLogEvent;

/**
 * Listener able to catch log events from an {@link artx.utils.AxLog}.
 * 
 * @author Xavier Gouchet
 * 
 */
public interface AxLogListener {

	/**
	 * Event called when a message is registered in the log.
	 * 
	 * @param evt
	 *            the log event
	 */
	public void messageRegistered(AxLogEvent evt);

	/**
	 * Event called when a debug message is registered in the log.
	 * 
	 * @param evt
	 *            the log event
	 */
	public void debugMessageRegistered(AxLogEvent evt);

}
